/* === v-alert === */

.v-alert {
  width: 100%;
  padding: @alert-padding;
  margin: 0;
  box-sizing: border-box;
  border-radius: @alert-border-radius;
  position: relative;
  overflow: hidden;
  color: @white;
  opacity: 1;
  display: flex;
  transition: opacity .2s;
  &--success {
    background-color: @green;
  }
  &--info {
    background-color: @lightblue;
  }
  &--warning {
    background-color: @orange;
  }
  &--error {
    background-color: @red;
  }
  &__icon {
    font-size: @alert-icon-size;
    width: @alert-icon-size;
    color: @white;
    vertical-align: middle;
    &.is-big {
      font-size: @alert-icon-large-size;
      width: @alert-icon-large-size;
    }
  }
  &__content {
    flex: 1;
    padding: 0 8px;
  }
  &__title {
    font-size: @alert-title-font-size;
    line-height: 16px;
    &.is-bold {
      font-weight: bold;
    }
  }
  &__description {
    color: @white;
    font-size: @alert-description-font-size;
    margin: 5px 0 0 0;
  }
  &__closebtn {
    color: @white;
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    &.is-customed {
      font-style: normal;
      font-size: @alert-close-customed-font-size;
      top: 12px;
    }
  }
}

.v-alert-fade-enter,
.v-alert-fade-leave-active {
  opacity: 0;
}
